/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.me.countrycity.SQL;

import android.content.Context;
import org.me.countrycity.utill.eCategories;

/**
 *
 * @author kipi
 */
public class WordsInit {

    WordsSQL wordsSQL;
    SQLHelper sqlHelper;

    public WordsInit(Context context) {

        sqlHelper = new SQLHelper(context);
        sqlHelper.Clear();
        wordsSQL = new WordsSQL(sqlHelper);
    }

    public WordsSQL getWordsSQL()
    {
        return wordsSQL;
    }
    public void InitWords() {
        InitAlef();
        InitBet();
    }

    public void InitAlef() {
        wordsSQL.AddWords(new String[]{"אלסקה", "אלבניה"}, eCategories.Contry);
        wordsSQL.AddWords(new String[]{"אלונים", "אדומים"}, eCategories.City);
        wordsSQL.AddWords(new String[]{"אריה"}, eCategories.Alive);
    }

    public void InitBet() {
        wordsSQL.AddWords(new String[]{"בלגיה", "ברזיל","בולגריה"}, eCategories.Contry);
        wordsSQL.AddWords(new String[]{"ברצלונה", "בת ים"}, eCategories.City);
        wordsSQL.AddWords(new String[]{"בת ים"}, eCategories.Alive);
    }
}
